package com.xxxy.service;

import com.xxxy.config.OpenFeignLoggerConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "service-provider-1", configuration = OpenFeignLoggerConfig.class, fallback = HIServiceFallback.class)

public interface HIService {
    @GetMapping("/provider/hello")
    public String hello();
}

